package com.slipper.qmt.vo;

public class QuoteTickVO {
    private Double time; // 时间戳
    private Double lastPrice; // 最新价
    private Double open; // 开盘价
    private Double high; // 最高价
    private Double low; // 最低价
    private Double lastClose; // 前收盘价
    private Integer amount; // 成交总额
    private Integer volume; // 成交总量
    private Integer pvolume; // 原始成交总量
    private Integer stockStatus; // 股票状态 作废 参考openInt
    // 若是股票则openInt含义为股票状态（数值含义参考下文证券状态），非股票则是持仓量
    // 0,10 - 默认为未知
    // 1  -  停牌
    // 11 - 开盘前S
    // 12 - 集合竞价时段C
    // 13 - 连续交易T
    // 14 - 休市B
    // 15 - 闭市E
    // 16 - 波动性中断V
    // 17 - 临时停牌P
    // 18 - 收盘集合竞价U
    // 19 - 盘中集合竞价M
    // 20 - 暂停交易至闭市N
    // 21 - 获取字段异常
    // 22 - 盘后固定价格行情
    // 23 - 盘后固定价格行情完毕
    private Integer openInt;
    private Double lastSettlementPrice; // 前结算
    private Double askPrice; // 委卖价
    private Double bidPrice; // 委买价
    private Integer askVol; // 委卖量
    private Integer bidVol; // 委买量

    public Double getTime() {
        return time;
    }

    public void setTime(Double time) {
        this.time = time;
    }

    public Double getLastPrice() {
        return lastPrice;
    }

    public void setLastPrice(Double lastPrice) {
        this.lastPrice = lastPrice;
    }

    public Double getOpen() {
        return open;
    }

    public void setOpen(Double open) {
        this.open = open;
    }

    public Double getHigh() {
        return high;
    }

    public void setHigh(Double high) {
        this.high = high;
    }

    public Double getLow() {
        return low;
    }

    public void setLow(Double low) {
        this.low = low;
    }

    public Double getLastClose() {
        return lastClose;
    }

    public void setLastClose(Double lastClose) {
        this.lastClose = lastClose;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getVolume() {
        return volume;
    }

    public void setVolume(Integer volume) {
        this.volume = volume;
    }

    public Integer getPvolume() {
        return pvolume;
    }

    public void setPvolume(Integer pvolume) {
        this.pvolume = pvolume;
    }

    public Integer getStockStatus() {
        return stockStatus;
    }

    public void setStockStatus(Integer stockStatus) {
        this.stockStatus = stockStatus;
    }

    public Integer getOpenInt() {
        return openInt;
    }

    public void setOpenInt(Integer openInt) {
        this.openInt = openInt;
    }

    public Double getLastSettlementPrice() {
        return lastSettlementPrice;
    }

    public void setLastSettlementPrice(Double lastSettlementPrice) {
        this.lastSettlementPrice = lastSettlementPrice;
    }

    public Double getAskPrice() {
        return askPrice;
    }

    public void setAskPrice(Double askPrice) {
        this.askPrice = askPrice;
    }

    public Double getBidPrice() {
        return bidPrice;
    }

    public void setBidPrice(Double bidPrice) {
        this.bidPrice = bidPrice;
    }

    public Integer getAskVol() {
        return askVol;
    }

    public void setAskVol(Integer askVol) {
        this.askVol = askVol;
    }

    public Integer getBidVol() {
        return bidVol;
    }

    public void setBidVol(Integer bidVol) {
        this.bidVol = bidVol;
    }

    @Override
    public String toString() {
        return "QuoteTickVO{" +
                "time=" + time +
                ", lastPrice=" + lastPrice +
                ", open=" + open +
                ", high=" + high +
                ", low=" + low +
                ", lastClose=" + lastClose +
                ", amount=" + amount +
                ", volume=" + volume +
                ", pvolume=" + pvolume +
                ", stockStatus=" + stockStatus +
                ", openInt=" + openInt +
                ", lastSettlementPrice=" + lastSettlementPrice +
                ", askPrice=" + askPrice +
                ", bidPrice=" + bidPrice +
                ", askVol=" + askVol +
                ", bidVol=" + bidVol +
                '}';
    }
}
